<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft HTML Help Workshop 4.0">
<title>To automatically generate a table of contents</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
<script language="JavaScript" src="master.js"></script>
</head>

<body>

<h1>To automatically generate a table of contents
</h1>
	<ol>
	<li>Open a project (.hhp) file. 
	<li>Click <a onclick="doSection(cpo)" class=sidebar href="#nowhere"><b>Change Project Options</b></a>, and then click the <b>Files</b> tab.
	<DIV CLASS="sidebartext" ID="cpo" STYLE="display: none; height: 72px; width: 300px"
	onclick="noSection(cpo)">
<img src="sb_cpo.gif" width=64 height=64 border=0 alt="">
	<P class=margin>			
	<b>Change Project Options</b>
	</P>
	<P class=margin2>			
	Specifies files, compiler, window, and other project settings.
	</P>
	</DIV>

	<li>Click <b>Browse</b>, next to the <b>Contents file</b> box, and then locate the folder that you want to store your contents file in.
<LI>In <b>File name</b> box, type a name (using .hhc for the file name extension) for your contents file.
<LI>Click <B>Open</B>. The name of your contents file and the full path appear in the <B>Contents file</B> box
<li>Select the <b>Automatically create contents file (.hhc) when compiling</b> check box.
<li>In the <b>Maximum head level</b> box, click the maximum heading level you want entries generated for in your contents file. For example, if you click <b>3</b> for the maximum head level, entries will be generated with <code>&lt;H1&gt;</code>, <code>&lt;H2&gt;</code>, and <code>&lt;H3&gt;</code> heading tags.
	</li>
	</ol>
	
<h3>Note</h3>

 	<ul>
	<li>If you make changes to a contents file that has been automatically generated, you will lose them if you compile the project again. To prevent this, make sure the <b>Automatically create contents file when compiling</b> check box is cleared before you recompile.
	</li>
	</ul>
	
<table border="0" cellpadding="0" cellspacing="0">

<tr> <td valign="top"><a href="overcnt.htm"><img src="home.gif" alt="Home page link" border="0"></a>
</td><td><a href="overcnt.htm">About creating table of contents files</A>
</td></tr>
<tr><td>&nbsp;</td></tr>
</table>
	
</body>
</html>
